sed -i "s@SELINUX=\(.*\)@SELINUX=disabled@g"  /etc/selinux/config
setenforce 0

yum install -y epel-release
yum update -y

echo "fs.nr_open=6144000" >> /etc/sysctl.conf
echo "* soft nofile 6144000" >> /etc/security/limits.conf
echo "* hard nofile 6144000" >> /etc/security/limits.conf

reboot
